Telegram Group & Telegram Channel
#вопрос264

Напишите функцию, которая будет принимать координаты двух точек на плоскости и возвращать длину отрезка, соединяющего эти точки.

Порядок передаваемых чисел — X, Y. Результат нужно округлить до сотых.

Примеры:

line_length([15, 7], [22, 11]) ➞ 8.06
line_length([0, 0], [0, 0]) ➞ 0
line_length([0, 0], [1, 1]) ➞ 1.41



tg-me.com/pythonjuniorjob/908
Create:
Last Update:

#вопрос264

Напишите функцию, которая будет принимать координаты двух точек на плоскости и возвращать длину отрезка, соединяющего эти точки.

Порядок передаваемых чисел — X, Y. Результат нужно округлить до сотых.

Примеры:

line_length([15, 7], [22, 11]) ➞ 8.06
line_length([0, 0], [0, 0]) ➞ 0
line_length([0, 0], [1, 1]) ➞ 1.41

BY Python вопросы на собеседовании с ответами


Warning: Undefined variable $i in /var/www/tg-me/post.php on line 283

Share with your friend now:
tg-me.com/pythonjuniorjob/908

View MORE
Open in Telegram


Python вопросы на собеседовании с ответами Telegram | DID YOU KNOW?

Date: |

The seemingly negative pandemic effects and resource/product shortages are encouraging and allowing organizations to innovate and change.The news of cash-rich organizations getting ready for the post-Covid growth economy is a sign of more than capital spending plans. Cash provides a cushion for risk-taking and a tool for growth.

Launched in 2013, Telegram allows users to broadcast messages to a following via “channels”, or create public and private groups that are simple for others to access. Users can also send and receive large data files, including text and zip files, directly via the app.The platform said it has more than 500m active users, and topped 1bn downloads in August, according to data from SensorTower.Python вопросы на собеседовании с ответами from no


Telegram Python вопросы на собеседовании с ответами
FROM USA